package cn.wzx.entity;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document("t_boke")
public class Boke {
    @Id
    private String id;
    private String body; // 文本
    private String uid; // 用户ID

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    @Override
    public String toString() {
        return "Boke{" +
                "id='" + id + '\'' +
                ", body='" + body + '\'' +
                ", uid='" + uid + '\'' +
                '}';
    }
}
